.class Lcom/waiqin365/lightapp/dailyreport/view/ay;
.super Ljava/lang/Object;

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:I

.field final synthetic b:Lcom/waiqin365/lightapp/dailyreport/view/at;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/dailyreport/view/at;I)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/dailyreport/view/ay;->b:Lcom/waiqin365/lightapp/dailyreport/view/at;

    iput p2, p0, Lcom/waiqin365/lightapp/dailyreport/view/ay;->a:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 7

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ay;->b:Lcom/waiqin365/lightapp/dailyreport/view/at;

    iget-object v0, v0, Lcom/waiqin365/lightapp/dailyreport/view/at;->e:Lcom/waiqin365/lightapp/dailyreport/view/cm;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/dailyreport/view/cm;->getCount()I

    move-result v0

    add-int/lit8 v0, v0, -0x1

    move v6, v0

    :goto_0
    iget v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ay;->a:I

    if-le v6, v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ay;->b:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/at;->d(Lcom/waiqin365/lightapp/dailyreport/view/at;)Lcom/waiqin365/lightapp/dailyreport/view/OtherGridView;

    move-result-object v0

    invoke-virtual {v0, v6}, Lcom/waiqin365/lightapp/dailyreport/view/OtherGridView;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/dailyreport/view/ay;->b:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/dailyreport/view/at;->a(Lcom/waiqin365/lightapp/dailyreport/view/at;Landroid/view/View;)Landroid/widget/ImageView;

    move-result-object v1

    const v2, 0x7f0c05ca

    invoke-virtual {v0, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    const/4 v2, 0x2

    new-array v2, v2, [I

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->getLocationInWindow([I)V

    const/4 v0, 0x2

    new-array v3, v0, [I

    add-int/lit8 v0, v6, -0x1

    iget v4, p0, Lcom/waiqin365/lightapp/dailyreport/view/ay;->a:I

    if-lt v0, v4, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ay;->b:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-static {v0}, Lcom/waiqin365/lightapp/dailyreport/view/at;->d(Lcom/waiqin365/lightapp/dailyreport/view/at;)Lcom/waiqin365/lightapp/dailyreport/view/OtherGridView;

    move-result-object v0

    add-int/lit8 v4, v6, -0x1

    invoke-virtual {v0, v4}, Lcom/waiqin365/lightapp/dailyreport/view/OtherGridView;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    invoke-virtual {v0, v3}, Landroid/view/View;->getLocationInWindow([I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/dailyreport/view/ay;->b:Lcom/waiqin365/lightapp/dailyreport/view/at;

    iget-object v4, p0, Lcom/waiqin365/lightapp/dailyreport/view/ay;->b:Lcom/waiqin365/lightapp/dailyreport/view/at;

    invoke-static {v4}, Lcom/waiqin365/lightapp/dailyreport/view/at;->c(Lcom/waiqin365/lightapp/dailyreport/view/at;)Lcom/waiqin365/lightapp/dailyreport/view/ChanelGridView;

    move-result-object v4

    const/4 v5, 0x1

    invoke-static/range {v0 .. v5}, Lcom/waiqin365/lightapp/dailyreport/view/at;->b(Lcom/waiqin365/lightapp/dailyreport/view/at;Landroid/view/View;[I[ILandroid/widget/GridView;Z)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    add-int/lit8 v0, v6, -0x1

    move v6, v0

    goto :goto_0

    :catch_0
    move-exception v0

    :cond_1
    return-void
.end method
